package com.woniu.cms.goods.core.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.woniu.cms.goods.core.entity.GoodsStores;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.common.api.Result;

import java.util.List;

/**
 * <p>
 * 仓库表 服务类
 * </p>
 *
 * @author romantic sheep
 * @since 2022-09-17
 */
public interface IGoodsStoresService extends IService<GoodsStores> {

    Result getlist(Integer currentPage, Integer pageSize,String storeName);

    Result addStore(GoodsStores stores) throws JsonProcessingException;

    Result deleteStore(Integer id);
}
